﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConferenceSystem
{
    public class cl_0423_Employee : cl_0423_RelatedEmployees, cl_0423_EmployeeObserver, cl_0423_MeetingObserver
    {
        private string worker;

        public cl_0423_Employee(string worker):base(worker)
        {
            this.worker = worker;
        }

        public void Overtime_notice()
        {
            Console.WriteLine(worker + "收到由部门转发的加班通知");
        }

        public void Meeting_message()
        {
            Console.WriteLine(worker + "——收到会议消息");
        }

        public override void Work_Overtime()
        {
            Console.WriteLine("员工"+worker+"通知加班");
        }
    }
}